﻿namespace RuoVea.Fams.Server.SeedData;

/// <summary>
/// 
/// </summary>
public class LocationsData : SeedDataEntity<FamsLocations>
{
    public IList<FamsLocations> HasData()
    {
        return new List<FamsLocations>() {
            new FamsLocations { Code = "FLOOR1", Name = "一楼仓库" },
            new FamsLocations { Code = "FLOOR2", Name = "二楼仓库" },
            new FamsLocations { Code = "OFFICE", Name = "办公室" },
            new FamsLocations { Code = "WORKSHOP", Name = "车间" }
        };
    }
}
public class TypesData : SeedDataEntity<FamsTypes>
{
    public IList<FamsTypes> HasData()
    {
        return new List<FamsTypes>() {
                new FamsTypes { Code = "EQUIP", Name = "设备" },
                new FamsTypes { Code = "VEHICLE", Name = "车辆" },
                new FamsTypes { Code = "BUILDING", Name = "建筑物" },
                new FamsTypes { Code = "SOFTWARE", Name = "软件" }
        };
    }
}
    
